<%@ page language="java" pageEncoding="utf-8"%>

<%@page import="entitybean.oc_user_name.EntityBeanOc_User_Name;"%>

	<%
		System.out.println("显示主页");
		EntityBeanOc_User_Name e = (EntityBeanOc_User_Name) request.getSession().getAttribute("Ocean_User");		
		if (e != null) {
			System.out.println("e.get_id=" + e.getId());
		} else {
			String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":"
					+ request.getServerPort() + path + "/";
			System.out.println("e.get_id=" + basePath);
			response.sendRedirect(basePath);
			return;
		}
	%>

		<div class="top">
			<div class="topkuang" >
				<div class="logo">
					<div class="logo"><a href="index.jsp"><img src="images/home_02.jpg" alt="" border="0" /></a><a href="index.jsp"><img src="images/home_03.jpg" alt="" border="0" /></a></div>
				
				</div>
				<div class="nav">
					<ul>
						<li class="r">
							<a href="login.jsp">退出系统</a>
						</li>
						<li>
							<a href="<%=request.getContextPath()+"/show_evaluate_list.do?method=show_evaluate_list"%>">评价指南</a>
						</li>
						<li>
							<a href="<%=request.getContextPath()+"/show_news_list.do?method=show_news_list"%>">新闻中心</a>
						</li>
						<%String IsAdmin="";
						if((String)request.getSession().getAttribute("IsAdmin")!=null)
						{
							IsAdmin=(String)request.getSession().getAttribute("IsAdmin");
						}
						if(IsAdmin.equals("Yes"))
						{ %>
						<li>
							<a href="<%=request.getContextPath() %>/console/Main.jsp">数据管理</a>
						</li>
						<%
						}
						 %>
						<li>
							<a href="manager.jsp">账户管理</a>
						</li>
						<li class="xover">
							<a href="index.jsp">首页</a>
						</li>

					</ul>


				</div>
			</div>
		</div>
